<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ page import="java.util.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/dishes-body.css" type="text/css" />
<link rel="stylesheet" href="css/dishes-nav.css" type="text/css" />
<link rel="stylesheet" href="css/dishes-main.css" type="text/css" />
<title>Insert title here</title>
</head>
<body align="center">
	<div id="dishes-header" class="header">
		<img alt="" src="ImageLoader?path=${sessionScope.loginToken.imageUrl}"
			width="60px" height="60px">
		${sessionScope.loginToken.mName}&nbsp;&nbsp;
		review:${MType}&nbsp;&nbsp; status:${sessionScope.mstatus} <br> <a
			href="LogoutServlet" style="color: blue;">logout</a>
	</div>


<h1>${amap.mstatus}</h1>
<c:if test="${amap.mstatus=='reject' }">
<h3>Reason: ${merchant.reason}, Please apply again.</h3>
</c:if>
	<form action="UpdateMerchServlet" method="post"
		enctype="multipart/form-data">
		<input type="hidden" name="mId" value=${sessionScope.loginToken.mId}>
		Name:<input type="text" name="mName" value="${sessionScope.loginToken.mName}"></input> <br> address:<input
			type="text" name="address" value="${sessionScope.loginToken.address}"> <br> header:
			<img  src="ImageLoader?path=${sessionScope.loginToken.imageUrl}"><br>
			<input
			type="file" name="image"> <br> IDCard:
			<img  src="ImageLoader?path=${sessionScope.loginToken.idCardUrl}"><br>
			<input type="file"
			name="idCard"> <br> <input type="submit"
			value="ReSubmit"><input type="hidden">

	</form>
</body>
</html>